import Vue from 'vue'
import App from './App.vue'
// 引入router路由
import router from './router'
//引入store仓库
import store from './store'
//引入全局组件
import TypeNav from './components/TypeNav'
//引入服务拦截器
import  './mock/mockServer'
// 引入全局组件分页器
// import Pagination from './components/Pagination'
Vue.config.productionTip = false
// 注册全局组件
Vue.component('TypeNav',TypeNav)
// 注册全局组件Pagination
// Vue.component('Pagination',Pagination)
new Vue({
   el:"#app",
   beforeCreate(){
      Vue.prototype.$bus=this
   },
   render: h => h(App),
   router,
   store
})
